#ifndef __UIDISPLAYWND__H__
#define __UIDISPLAYWND__H__

#include <MZFCLIB.h>

#include	"iUiButton.h"
#include	"UiStatusBar.h"

typedef enum _tagDisplayWndBtnDisplay
{
	DISPLAY_WND_SOFT = 0,
	DISPLAY_WND_BRIGHT,
	DISPLAY_WND_STANDARD,
	MAX_DISPLAY_WND_BTN,
} DISPLAY_WND_BTN;

typedef enum _tagDisplayWndStaticDisplay
{
	DISPLAY_WND_STATIC_LIGHT = 0,
	DISPLAY_WND_STATIC_CONTRAST,
	DISPLAY_WND_STATIC_MODE,
	MAX_DISPLAY_WND_STATIC,
} DISPLAY_WND_STATIC;

typedef enum _tagDisplayWndBarDisplay
{
	DISPLAY_WND_BAR_LIGHT = 0,
	DISPLAY_WND_BAR_CONTRAST,
	MAX_DISPLAY_WND_BAR,
} DISPLAY_WND_BAR;

class UiDisplayWnd :
	public UiWin
{
public:
	UiDisplayWnd();
	~UiDisplayWnd();

	BOOL InitUiWin(void);

	void PaintWin(HDC hdc, RECT* prcWin, RECT* prcUpdate);
	virtual int OnLButtonDown(UINT fwKeys, int xPos, int yPos);
	virtual int OnLButtonUp(UINT fwKeys, int xPos, int yPos);
	virtual void DeleteImages();

	void LoadiInterItem();
	BOOL InitImages();
public:
	iUiButton m_BtnDisplayWnd[MAX_DISPLAY_WND_BTN];
	CUiStatusBar m_slideBar[MAX_DISPLAY_WND_BAR];
	UiStatic	m_StaticDisplayWnd[MAX_DISPLAY_WND_STATIC];
	ImagingHelper	*m_DisplayWndBG;

	HDC				m_hBakDC;
	HBITMAP			m_hBitmapBakDC;
public:
	void UpdateLanguage();
};

#endif